package cc.linker.steplink.crm.merchanth5.dao;

import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface LiveGoodsDao {

    List<Map<String, Object>> orgList();

    void addStudio(Map<String, Object> params);

    void updateStudio(Map<String, Object> params);

    void deleteStudio(Map<String, Object> params);

    List<Map<String, Object>> getLiveGoodsList(Map map);

    Map<String, Object> getStudioInfo(Map<String, Object> params);

    Map<String, Object> getH5StudioInfo(Map<String, Object> params);

    List<Map<String, Object>> geth5LiveGoodsList(Map<String, Object> params);

    List<Map<String, Object>> getUrlList(String orgId);

    Map<String, Object> getuserInfo(String customerId);

    String getoken(String orgId);

    List<Map<String, Object>> studioList(Map<String, Object> map);

    String getAuthenticateState(Map<String, Object> params);

    void addStudioNew(Map parse);

    void updateStudioNew(Map<String, Object> params);


    Map<String, Object> getH5StudioAdminInfo(Map<String, Object> params);

    String getbroadcastId(Map<String, Object> params);

    String getBindPhoneByCustomerId(String customerId);

    Integer insertStudioAdmin(Map<String, Object> temp);

    Integer ifOpenLive(Map<String, Object> param);

    String getNickNameByCustomerId(String customerId);

    String getOrgNameByOrgId(String orgId);

    String getBindPhoneByOrgId(String adminId);

    Integer getCheckStatus(Map<String, Object> params);

    void delLiveStream(Map<String, Object> params);

    int getSaleByCustomerId(String customerId);

    Integer getCustomertype(Map<String, Object> params);

    String getDeleteIds(Map<String, Object> params);

    //通过机构和账户获取直播间信息
    Map<String,Object> getLiveInfoByAccount(@Param("account") String account,@Param("orgId") String orgId);

    Map<String, Object> getOrgInfo(Map<String, Object> params);

}
